type context.cancelCtx
15 uses
context (current package)
context.go#L268: func withCancel(parent Context) *cancelCtx {
context.go#L272: c := &cancelCtx{}
context.go#L284: if cc, ok := c.Value(&cancelCtxKey).(*cancelCtx); ok {
context.go#L337: cancelCtx
context.go#L372: func parentCancelCtx(parent Context) (*cancelCtx, bool) {
context.go#L377: p, ok := parent.Value(&cancelCtxKey).(*cancelCtx)
context.go#L421: type cancelCtx struct {
context.go#L431: func (c *cancelCtx) Value(key any) any {
context.go#L438: func (c *cancelCtx) Done() <-chan struct{} {
context.go#L453: func (c *cancelCtx) Err() error {
context.go#L462: func (c *cancelCtx) propagateCancel(parent Context, child canceler) {
context.go#L529: func (c *cancelCtx) String() string {
context.go#L536: func (c *cancelCtx) cancel(removeFromParent bool, err, cause error) {
context.go#L649: cancelCtx
context.go#L769: case *cancelCtx:
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |